import { defineStore } from 'pinia'
export const userStore =  defineStore('user', {
	state() {
		return {
			isLogin: false,
			isLoginDialog:false,
			token: "",
			userInfo: {},
		}
	},
	actions: {
		setLogin(data:boolean) {
			this.isLogin = data
		},
	},
	persist: true,
})
